From 134ba2ebf7abfa8ef247cf253304dafa2abd227f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Mon, 23 Oct 2017 13:39:22 +0200 Subject: [PATCH] icontheme: Silence some compiler warnings --- gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 64842b4ccd..10217b1f64 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -4030,7 +4030,7 @@ gtk_icon_info_load_texture (GtkIconInfo *icon_info) icon_info->texture = gsk_texture_new_for_pixbuf (pixbuf); g_object_unref (pixbuf); - g_object_add_weak_pointer (icon_info->texture, &icon_info->texture); + g_object_add_weak_pointer (G_OBJECT (icon_info->texture), (void **)&icon_info->texture); } if (icon_info->in_cache != NULL) -- 2.30.2